<template>
  <div class="row justify-center q-pa-md">
    <div class="col-2"></div>
    <div class="col">
      <q-input
        filled
        v-model="pageParam.text"
        @keyup.enter="f5"
        type="text"
        placeholder="搜索内容"
      >
        <template v-slot:append>
          <q-btn
            flat
            round
            icon="search"
            @click="
              () => {
                f5();
              }
            "
          />
        </template>
      </q-input>
    </div>
    <div class="col-2"></div>
  </div>
</template>

<script setup lang="ts">
import { pageParam, f5 } from './shared';
</script>

<style scoped></style>
